package com.mzy.xmyx.acl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mzy.xmyx.model.acl.Admin;
import com.mzy.xmyx.vo.acl.AdminQueryVo;


public interface AdminService extends IService<Admin> {

    /**
     *  获取后台用户分页列表(带搜索)
     * @param current
     * @param limit
     * @param adminQueryVo
     * @return IPage<Admin>
     */
    IPage<Admin> selectPage(Integer current, Integer limit, AdminQueryVo adminQueryVo);

    /**
     * 添加用户
     *
     * @param admin
     * @return Boolean
     */
    boolean save(Admin admin);
}
